package com.mt.roll.wms.vo;

import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author weihongyang
 * @Date 2021/10/29 3:05 下午
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "工单执行视图对象", description = "用于查询工单执行信息")
public class WorkOrderExecuteVo extends CommonVo implements PageVo.ConvertVo {

    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", example = "1")
    private Long id;

    /**
     * 工单名称
     */
    @ApiModelProperty(value = "工单名称", example = "1")
    private String name;

    /**
     * 工单编码
     */
    @ApiModelProperty(value = "工单编码", example = "1")
    private String workOrderNo;

    /**
     * 下发工单时间
     */
    @ApiModelProperty(value = "下发工单时间", example = "1")
    private LocalDateTime createTime;

    /**
     * 总工艺名称
     */
    @ApiModelProperty(value = "总工艺名称", example = "1")
    private String craftName;

    /**
     * 总工艺号
     */
    @ApiModelProperty(value = "总工艺号", example = "1")
    private String workCraftNo;


    /**
     * 优先级
     */
    @ApiModelProperty(value = "优先级", example = "1")
    private BigDecimal priority;

    /**
     * 工单状态
     */
    @ApiModelProperty(value = "工单状态", example = "1")
    private Integer status;

    /**
     * 计划加工数量
     */
    @ApiModelProperty(value = "计划加工数量", example = "1")
    private BigDecimal planQuantity;

    /**
     * 分工艺号
     */
    @ApiModelProperty(value = "分工艺号", example = "1")
    private String subProccessNo;

    /**
     * 分工艺名称
     */
    @ApiModelProperty(value = "分工艺名称", example = "1")
    private String subProccessName;
}
